package vip.liux.contracts.security.core.extensions;

/**
 * 身份资源类
 * <p>定义了身份验证相关的资源键，用于国际化消息的获取。</p>
 */
public class IdentityResources {

    /**
     * 默认错误消息键
     */
    public static final String DefaultError = "Identity.DefaultError";

    /**
     * 并发失败错误消息键
     */
    public static final String ConcurrencyFailure = "Identity.ConcurrencyFailure";

    /**
     * 密码不匹配错误消息键
     */
    public static final String PasswordMismatch = "Identity.PasswordMismatch";

    /**
     * 无效令牌错误消息键
     */
    public static final String InvalidToken = "Identity.InvalidToken";

    /**
     * 恢复码兑换失败错误消息键
     */
    public static final String RecoveryCodeRedemptionFailed = "Identity.RecoveryCodeRedemptionFailed";

    /**
     * 登录方式已关联错误消息键
     */
    public static final String LoginAlreadyAssociated = "Identity.LoginAlreadyAssociated";

    /**
     * 无效用户名错误消息键
     */
    public static final String InvalidUserName = "Identity.InvalidUserName";

    /**
     * 无效邮箱错误消息键
     */
    public static final String InvalidEmail = "Identity.InvalidEmail";

    /**
     * 用户名已存在错误消息键
     */
    public static final String DuplicateUserName = "Identity.DuplicateUserName";

    /**
     * 邮箱已存在错误消息键
     */
    public static final String DuplicateEmail = "Identity.DuplicateEmail";

    /**
     * 无效角色名错误消息键
     */
    public static final String InvalidRoleName = "Identity.InvalidRoleName";

    /**
     * 角色名已存在错误消息键
     */
    public static final String DuplicateRoleName = "Identity.DuplicateRoleName";

    /**
     * 用户已设置密码错误消息键
     */
    public static final String UserAlreadyHasPassword = "Identity.UserAlreadyHasPassword";

    /**
     * 用户未启用锁定错误消息键
     */
    public static final String UserLockoutNotEnabled = "Identity.UserLockoutNotEnabled";

    /**
     * 用户已在角色中错误消息键
     */
    public static final String UserAlreadyInRole = "Identity.UserAlreadyInRole";

    /**
     * 用户不在角色中错误消息键
     */
    public static final String UserNotInRole = "Identity.UserNotInRole";

    /**
     * 密码长度不足错误消息键
     */
    public static final String PasswordTooShort = "Identity.PasswordTooShort";

    /**
     * 密码需要更多不同字符错误消息键
     */
    public static final String PasswordRequiresUniqueChars = "Identity.PasswordRequiresUniqueChars";

    /**
     * 密码缺少非字母数字字符错误消息键
     */
    public static final String PasswordRequiresNonAlphanumeric = "Identity.PasswordRequiresNonAlphanumeric";

    /**
     * 密码缺少数字错误消息键
     */
    public static final String PasswordRequiresDigit = "Identity.PasswordRequiresDigit";

    /**
     * 密码缺少小写字母错误消息键
     */
    public static final String PasswordRequiresLower = "Identity.PasswordRequiresLower";

    /**
     * 密码缺少大写字母错误消息键
     */
    public static final String PasswordRequiresUpper = "Identity.PasswordRequiresUpper";
}